<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <%= stylesheet_link_tag '../themes/amsterdam/css/main.css' %>
        <title><%= controller.current_lough.lough_name %></title>
    </head>
    <body>
        <div id="container" class="center">
	        <div id="global-header">
	        	<div id="avatar">
	        		<% if controller.avatar_url %>
	        		<img src="<%= controller.avatar_url %>"></img>
	        		<% else %>
	        		<img src="/themes/amsterdam/images/default_avatar.png"></img>
	        		<% end %>
	        	</div>
	        	<div id="site-name">
	        		<h1><%= link_to controller.current_lough.lough_name ? controller.current_lough.lough_name : controller.current_lough.screen_name, index_url(:screen_name => controller.current_lough.screen_name) %></h1>
	        		<div class="description"><%= controller.current_lough.about_owner %></div>
	        	</div>
	        </div><!--[End] #header -->
	        <%= yield(:layout) %>
	        <%= yield(:ancillaries)%>
	        <div id="global-footer">
	        	<p class="copyright"><%= controller.current_lough.copy_right %></p>
	            <p class="copyright">Provided by <a href="http://babaru.net">babaru.net</a></p>
	        </div>
        </div>
    </body>
</html>
